<?php
Zend::loadClass('Lead_EDO_Datatype_Field');

abstract class Lead_EDO_Datatype_Numeric extends Lead_EDO_Datatype_Field 
{    
    
    public function getMax()
    {
        $phrase = "SELECT MAX({$this->getName()}) FROM {$this->getTable()}";
        return $this->getOwner()->ldb->getOne($phrase);  
    }
    
    
}